<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-register-edit" th:object="${zzReceiverRegister}">
            <input name="receiverRegisterId" th:field="*{receiverRegisterId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单ID：</label>
                <div class="col-sm-8">
                    <input name="purchaseOrderItemId" th:field="*{purchaseOrderItemId}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收货数量：</label>
                <div class="col-sm-8">
                    <input name="receiverNumber" th:field="*{receiverNumber}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">验收人：</label>
                <div class="col-sm-8">
                    <input name="receiverRegisterPerson" th:field="*{receiverRegisterPerson}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">入库状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="purchaseOrderStatus" value="" required>
                        <label th:for="purchaseOrderStatus" th:text="待入库"></label>
                    </div>
                   <!-- <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品类别：</label>
                <div class="col-sm-8">
                    <input name="productCategoryName" th:field="*{productCategoryName}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <select name="receiverCommodityStatus" id="sel">
                            <option value="0">--请选择--</option>
                            <option value="不良品">不良品</option>
                            <option value="良品">良品</option>
                        </select>
                   <!-- <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/register";
        $("#form-register-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-register-edit').serialize());
            }
        }
    </script>
</body>
</html>